package org.abratuhi.kvngroupware.network;

import java.net.Socket;

public interface Client{
	
	public void setId(String id);
	public String getId();
	public void sendMessage(Message message);
	public void sendString(String str);
	public Message receiveMessage();
	public String receiveString();
	public void run();
	public void start();
	public void stop();
	public void register();
	public void unregister();
	public void doOnCommunicationError();
	public Socket getSocket();

}
